{{define "user/list.html"}}
    {{ template "header".}}
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: initial">
        <legend style="text-align: center">操作员列表</legend>
    </fieldset>
    <div style="width:auto; height:800px; overflow:scroll;">
        <table class="layui-table" lay-filter="test" style="align-content: center">
            <thead>
            <tr>
                <th>ID</th>
                <th>姓名</th>
                <th>创建时间</th>
                <th>备注</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>{{range .ctx}}
                <tr>
                    <td>{{.ID}}</td>
                    <td>{{.Name}}</td>
                    <td>{{date .CreatedAt}}</td>
                    <td>{{.Remark}}</td>
                    <td>
                        {{/*<button type="button" class="layui-btn layui-btn-sm" onclick="stepPost('/book/del?id={{.ID}}')">
                            删除
                        </button>*/}}
                    </td>

                </tr>
            {{end}}</tbody>
        </table>
    </div>
    {{template "footer" .}}
{{end}}